{template common/header}

<div class="slide" id="img-play">
	<ul>
        {loop $banners $pic}
            <li><a href="{if $pic[img_url] != 'http://'}$pic['img_url']{/if}"><img src="$pic[img_path]"></a></li>       
        {/loop}
	</ul>
	<div class="bg"></div>
	<div class="num"></div>
	<a class="skip prev" title="上一张">上一张</a>
	<a class="skip next" title="下一张">下一张</a>
</div>
    
<div class="content">
    <div class="left width706">
        <ul class="sTab">
            <li class="sel">盘前预报</li>
            <li>最新主题</li>
            <li>最近回复</li>
            <!-- <li>本周热门</li> -->
        </ul>
        <!-- tab 盘前预报 -->
        <div class="tabTag">
            <ul class="infoList">
                {if !empty($lists)}
                    {eval $i=1}
                    {loop $lists $list}        
                    <li>
                    	<span>$i</span>
                        <a target="_blank" title="$list[subject]" href="forum.php?mod=viewthread&tid=$list[tid]">$list[subject]</a>
                        <em>$list[username]</em>
                    </li>
                    {eval $i++}
                    {/loop}
                {else}
                    本版块尚无主题
                {/if}
            </ul>
        </div>
        <!-- tab 最新主题 -->
        <div class="tabTag">
            <ul class="infoList">
                {if !empty($last_threads)}
                    {eval $i=1}
                    {loop $last_threads $list}        
                    <li>
                        <span>$i</span>
                        <a target="_blank" title="$list[subject]" href="forum.php?mod=viewthread&tid=$list[tid]">$list[subject]</a>
                        <em>$list[username]</em>
                    </li>
                    {eval $i++}
                    {/loop}
                {else}
                    本版块尚无主题
                {/if}
            </ul>
        </div>
        
        <!-- tab 最近回复 -->
        <div class="tabTag">
            <ul class="infoList">
                {if !empty($last_post_threads)}
                    {eval $i=1}
                    {loop $last_post_threads $list}        
                    <li>
                        <span>$i</span>
                        <a target="_blank" title="$list[subject]" href="forum.php?mod=viewthread&tid=$list[tid]">$list[subject]</a>
                        <em>$list[username]</em>
                    </li>
                    {eval $i++}
                    {/loop}
                {else}
                    本版块尚无主题
                {/if}
            </ul>
        </div>
        
        <!-- tab 本周热门 -->
        <!-- <div class="tabTag">
            <ul class="infoList">
                {if !empty($week_hots)}
                    {eval $i=1}
                    {loop $week_hots $list}        
                    <li>
                        <span>$i</span>
                        <a target="_blank" title="$list[subject]" href="forum.php?mod=viewthread&tid=$list[tid]">$list[subject]</a>
                        <em>$list[username]</em>
                    </li>
                    {eval $i++}
                    {/loop}
                {else}
                    本版块尚无主题
                {/if}
            </ul>
        </div> -->
        
    </div>
    
    <div class="right width280">
        <ul class="sTab">
            <li class="sel">本周热门</li>
            <!-- <li>注册/登录</li> -->
        </ul>
        <!-- tab 盘中热聊 -->
        <div class="tabTag">
            <div class="chat">
                <ul class="scroll_list">
                    {if !empty($week_hots)}
                        {eval $i=1}
                        {loop $week_hots $list}        
                        <li>
                            <a target="_blank" title="$list[subject]" href="forum.php?mod=viewthread&tid=$list[tid]">$list[subject]</a>
                        </li>
                        {eval $i++}
                        {/loop}
                    {else}
                        本版块尚无主题
                    {/if}
                </ul>
            </div>
        </div>
    </div>
</div>

{template common/footer}